.container {
    width: 1050px;
    height: auto;
    margin: 0px auto;
    border: 1px red solid;
    background-color: #F5F5F5;
}

.product {
    width: 240px;
    height: 300px;
    background-color: white;
    margin: 10px;
    border: 1px red solid;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    top: 0px;
    transition: top 0.5s;
    float: left;
}

.product:hover {
    box-shadow: 0px 0px 10px 0px gray;

    top: -5px;
}

.product .product-sale {
    background-color: red;
    color: white;
    height: 20px;
    text-align: center;
    line-height: 20px;

    transform: rotate(45deg);

    position: absolute;
    left: 100px;
    top: 5px;

    width: 100%;
}

.product .product-image {
    width: 160px;
    height: 160px;
    margin-top: 16px;
}

.product .product-name {
    color: #333333;
    font-size: 5px;
}

.product .product-desc {
    color: #B0B0B0;
    font-size: 12px;
    margin-top: 6px;
}

.product .product-price {
    color: #FF6700;
    margin-top: 15px;
}

.product .product-buy {
    background-color: red;
    color: white;

    text-align: center;
    line-height: 40px;
    height: 40px;

    position: absolute;
    bottom: -40px;

    transition: bottom 1s;

    width: 100%;
}

.product:hover .product-buy {
    bottom: 0px;
}